<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <title th:text="${title}"></title>
    <meta charset="UTF-8">
    <link th:href="@{/asserts/css/note/details.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/asserts/css/common/scrollbar.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/asserts/css/navbar.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/asserts/css/tools/spop.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/asserts/css/tools/jquery.pagination.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/asserts/css/common/comment.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/asserts/css/note/noteMine.css}" rel="stylesheet" type="text/css" />

    <script th:inline="javascript">
        var content = [[${content}]];
        var nid = [[${nid}]];
        var uid = [[${session.user_id}]];
        var user = uid;
        var rUserId = [[${uid}]];
        var title = [[${title}]];
        var type = '1';
    </script>

    <script th:src="@{/asserts/js/common/jquery.js}"></script>
    <script th:src="@{/asserts/js/tools/spop.js}"></script>
    <script th:src="@{/asserts/js/tools/jquery.pagination.min.js}"></script>
    <script th:src="@{/asserts/js/note/details.js}"></script>
    <script th:src="@{/asserts/js/common/comment.js}"></script>
</head>

<body>
<hhh th:if="${status eq '2'}">
<div id="header" th:replace="~{homepage :: navbar}"></div>
</hhh>
<input id="comment_count" type="hidden" th:value="${commentCount}"/>
<input id="user_id" type="hidden" th:value="${session.user_id}"/>
<input id="user_name" type="hidden" th:value="${session.user_name}"/>
<input id="user_pic" type="hidden" th:value="${session.user_logo}"/>


<div class="set_index" id="_j_cover_box">
    <div class="set_bg _j_load_cover" style="width:100%;">
        <img th:src="${topImg}" width="100%">
    </div>

    <div class="fully_loading" style="display: none;">
        <p vtip="头图加载中...">头图加载中...</p>
        <img src="http://images.mafengwo.net/images/post/new_notes/fully_loading_v2.gif" alt="loading">
    </div>

    <div class="_j_titlebg">
        <div class="title_bg"></div>
        <div class="view_info" data-length="6">
            <div class="vi_con">
                <h1 data-length="6" th:text="${title}" class="headtext lh80" style="white-space: nowrap; word-wrap: normal;">天津不如武汉
                </h1>
            </div>
        </div>
    </div>
</div>



<div class="view_title clearfix">
    <div class="pagelet-block">
        <div class="vt_center">
            <div class="person" data-cs-t="ginfo_person_operate">
                <a href="/u/94362993.html" th:href="@{'/u/'+${uid}+'/note'}" target="_blank" class="per_pic">
                    <img width="120" height="120" th:src="${userPic}" alt="">
                </a>
                <strong>
                    <a href="/u/94362993.html" th:href="@{'/u/'+${uid}+'/note'}" target="_blank" class="per_name" th:title="${userName}" th:text="${userName}">Jack.Swift</a>
                </strong>
                <hhh th:if="${session.user_id ne uid}">
                <a class="per_attention" th:if="${followId eq null}">
                    <img src="http://images.mafengwo.net/images/home/tweet/btn_sfollow.gif" width="38" height="13"
                         border="0" title="关注TA">
                </a>
                </hhh>
                <div class="vc_time">
                    <span class="time" th:text="${editTime}">2019-07-09 14:41</span>
                    <span><i class="ico_view"></i><hhh th:text="${views + '/' + (commentCount eq null?0:commentCount)}">45/2</hhh></span>
                </div>
                <div th:if="${uid eq session.user_id}" class="person-edit">
                    <a th:href="'/note/editNote/' + ${nid}" target="_blank" title="编辑">编辑</a>|
                    <a id="btn-delete" onclick="clickDeleteNote()" title="删除">删除</a>
                </div>
            </div>

            <div th:if="${status eq '2'}" class="bar_share _j_share_father _j_top_share_group">
                <div class="bs_share">
                    <div class="ding">
                        <a role="button" data-japp="articleding" rel="nofollow" th:hasThumbs="${thumbsUpId eq null?'0':'1'}"
                           class="up_act " title="顶">顶</a>
                        <div class="num _j_up_num" th:text="${thumbsUpCount eq null?0:thumbsUpCount}">8</div>
                    </div>
                </div>

                <!-- 已收藏在class加collected -->
                <div th:class="${starId eq null?'bs_collect':'bs_collect collected'}">

                    <a rel="nofollow" title="收藏" class="bs_btn _j_do_fav"
                       data-ctime="2019-07-09 14:41:15"><i></i>
                        <span id="star-count" th:text="${starCount eq null?0:starCount}">2</span><strong>收藏</strong>
                    </a>
                </div>

            </div>
        </div>
    </div>
</div>

<!-- 本体 s -->
<div class="container clearfix">
    <div id="" class="content pagelet-block">
        <p th:if="${status eq '1'}" style="margin-top:0px;font-size: 24px;color:red">
            游记审核中
        </p>
        <div class="block-loading loading_backward"></div>
        <div class="_j_content_box">


            <div class="travel_directory _j_exscheduleinfo">
                <div class="tarvel_dir_list clearfix">
                    <ul>
                        <li class="time">出发时间<span>/</span><hhh th:text="${date}">2019-07-02</hhh><i></i></li>
                        <li class="day">出行天数<span>/</span><hhh th:text="${days}">5 天</hhh></li>
                        <li class="cost">人均费用<span>/</span><hhh th:text="${money}">5000RMB</hhh></li>
                    </ul>
                </div>
            </div>

            <div class="vc_article">
                <div class="va_con _j_master_content" data-cs-t="ginfo_kw_hotel">
                    <div class="block-loading loading_backward"></div>
                    <div class="_j_content_container">


                        <!--文章主题-->



                    </div>

                </div>

            </div>

            <!-- 评论 -->
            <div th:if="${status eq '2'}" class="row">
                <div class="wrapper clearfix">
                    <div class="mod-comment">
                        <h3 class="mod-title">留言</h3>
                        <div class="comment-form clearfix">
                            <textarea class="_j_comment_content" style="height: 60px;"></textarea>
                            <input class="btn _j_submit_comment" onclick="clickCommentSubmit()" type="button" value="留言">
                        </div>
                        <div class="_j_commentlist">
                            <div class="rev-list">
                                <ul id="comment-list">
                                    <!--评论列表-->
                                </ul>
                            </div>
                        </div>
                        <div class="post_pagin" id="smallpager">
                            <div id="pagination" class="page f1" style="text-align: center;">
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <div class="block-loading loading_forward"></div>
    </div>




    <!-- 右侧bar s -->

    <div id="sidebar" class="sidebar">
        <div style="height: 395px; display: none;"></div>

        <div th:if="${poiId ne null}" class="slide-right-container">
            <div class="relation_mdd">相关目的地：
                &nbsp;&nbsp;
                <a href="/travel-scenic-spot/mafengwo/14731.html" th:href="@{'/c/'+${poiId}}" target="_blank" th:title="${poiName}"
                   th:text="${poiName}" class="_j_mdd_stas">湖北</a>
            </div>
            <div class="its_others">
                <div class="mdd_info" style="height:auto;">
                    <!--_j_mdd_sta为目的地点击统计，修改注意-->
                    <a href="/travel-scenic-spot/mafengwo/10133.html" th:href="@{'/c/'+${poiId}}" th:title="${poiName}" class="_j_mdd_stas"
                       target="_blank">
                        <img th:src="${poiPic}" width="240px">
                        <i></i>
                    </a>
                </div>
            </div>
        </div>

        <!-- 目录 -->
        <div class="pagelet-block">
            <div class="notes_catalog">
                <div class="side_title" id="_j_catalogtitle">游记目录</div>
                <div id="_j_catalog_list_wrap" style="position: relative; height: 36px;">
                    <ul class="catalog_content" style="position: relative; overflow-y: auto; max-height: 400px;">

                    </ul>
                    <div class="scrollbar"
                         style="position: absolute; right: 0px; top: 0px; width: 5px; height: 100px; background-color: rgb(214, 214, 214); border-radius: 10px; cursor: pointer; opacity: 0; display: none;">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 右侧bar e -->




</div>
<!-- 本体 e -->


<div th:if="${uid eq session.user_id}" id="_j_layer_0" class="layer _j_layer"
     style="position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 10001; display:none;">
    <div class="layer_mask _j_mask"
         style="position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; background: rgb(0, 0, 0); opacity: 0.7; z-index: -1;">
    </div>
    <div class="layer_content _j_content"
         style="position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 0; overflow: hidden;">
        <div id="popup_container" class="popup-box new-popbox pop_no_margin"
             style="position: absolute; opacity: 1; background: rgb(255, 255, 255); z-index: 1; width: 420px;left:0; top: 45%;">


            <div class="pop-ctn">
                <p class="hd _j_content">确认删除这篇游记吗？</p>

            </div>
            <div class="pop-btns"><a role="button" tabindex="0"
                                     class="popbtn popbtn-cancel popbtn-half _j_close _j_false" onclick="deleteCancle()">取消</a>
                <a role="button" tabindex="0" onclick="deleteNote()" class="popbtn popbtn-submit popbtn-half _j_close _j_true">确定</a></div>
        </div>
    </div>
</div>
</body>

</html>